/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-09 09:38:46
 * @LastEditTime: 2019-08-12 16:16:53
 * @LastEditors: Please set LastEditors
 */
import Home from '../components/Home'
import Buttons from '../components/ui/Buttons'
import Spins from '../components/ui/Spins'
import Forms from '../components/form/Forms'
import FormOne from '../components/form/components/FormOne'
import FormTwo from '../components/form/components/FormTwo'
import Table from '../components/Table'
import TodoList from '../components/TodoList'
import TodoList2 from '../components/TodoList2'

let routes = [
    {
        path:'/app/home',
        component: Home,
    },
    {
        path:'/app/buttons',
        component: Buttons,
    },
    {
        path:'/app/spins',
        component: Spins,
    },
    {
        path:'/app/table',
        component: Table,
    },
    {
        path:'/app/todolist',
        component: TodoList,
    },
    {
        path:'/app/todolist2',
        component: TodoList2,
    },
    {
        path:'/app/forms',
        component: Forms,
        routes: [
            {
                path:'/app/forms/form1',
                component: FormOne, 
            },
            {
                path:'/app/forms/form2',
                component: FormTwo, 
            }
        ]
    }
  ]

  export default routes;